package com.core.family.admin.domain;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * @author honglei
 * @version 1.0
 * @time: 2024-6-17 14:49:12
 * @Description PO对象 菜单
 */
@Data
@TableName(value = "uc_menu")
public class Menu implements Serializable {


    /*
     *
     */
    @TableField(value = "id")
    private Integer id;

    /*
     *
     */
    @TableField(value = "parent_id")
    private Integer parentId;

    /*
     *  菜单码
     */
    @TableField(value = "menu_code")
    private String menuCode;

    /*
     *  菜单名称
     */
    @TableField(value = "menu_name")
    private String menuName;

    /*
     *  菜单图标
     */
    @TableField(value = "menu_icon")
    private String menuIcon;

    /*
     *  菜单路径
     */
    @TableField(value = "menu_path")
    private String menuPath;

    /*
     *  菜单排序
     */
    @TableField(value = "menu_sort")
    private Integer menuSort;

    /*
     *  菜单类型
     */
    @TableField(value = "menu_type")
    private Integer menuType;

    /*
     *  菜单状态
     */
    @TableField(value = "status")
    private Integer status;

    /*
     *  是否删除
     */
    @TableField(value = "is_del")
    private Integer isDel;

    /*
     *  创建时间
     */
    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*
     *  更新时间
     */
    @TableField(value = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
